#ifndef POINTER_H
#define POINTER_H


class Pointer
{
    int* mp;
public:
    Pointer(int* p = nullptr);
    Pointer(const Pointer& obj);
    Pointer& operator = (const Pointer& obj);
    int* operator -> ();
    int& operator * ();
    bool isNull();
    ~Pointer();
};

#endif // POINTER_H
